-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MWPW-159032: Verb Widget - Accessibility Issues #822
Conversation
Text decoration under verb widget footer links
* stage: Lint fix Eslint fix Dynamic prefetch from anon on unity workflow
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## stage #822 +/- ##
=======================================
Coverage 89.25% 89.25%
=======================================
Files 49 49
Lines 7762 7762
=======================================
Hits 6928 6928
Misses 834 834
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
const widgetMobileButton = createTag('a', { class: 'verb-mobile-cta', href: mobileLink }, window.mph['verb-widget-cta-mobile']); | ||
const button = createTag('input', { type: 'file', id: 'file-upload', class: 'hide' }); | ||
const widgetImage = createTag('img', { class: 'verb-image', src: `/acrobat/img/verb-widget/${VERB}.png` }); | ||
const widgetImage = createTag('img', { class: 'verb-image', src: `/acrobat/img/verb-widget/${VERB}.png`, alt: '' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of alt: ''
let's do alt: '${VERB}'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Blainegunn Templating the string is not needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made one suggestion
Approved
const widgetMobileButton = createTag('a', { class: 'verb-mobile-cta', href: mobileLink }, window.mph['verb-widget-cta-mobile']); | ||
const button = createTag('input', { type: 'file', id: 'file-upload', class: 'hide' }); | ||
const widgetImage = createTag('img', { class: 'verb-image', src: `/acrobat/img/verb-widget/${VERB}.png` }); | ||
const widgetImage = createTag('img', { class: 'verb-image', src: `/acrobat/img/verb-widget/${VERB}.png`, alt: '' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Blainegunn Templating the string is not needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
dc/acrobat/blocks/verb-widget/verb-widget.js
Line 141 in 8bc58b7
console.log('IMS:Ready 😎'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
dc/acrobat/blocks/verb-widget/verb-widget.js
Line 150 in 8bc58b7
console.log('Race Con ⏩'); |
Resolves: MWPW-159032
Submit accesible by keyboard
Text decoration under verb widget footer links
Test URL: